package com.buba.system.service.Impl;

import com.buba.system.dao.RoleMapper;
import com.buba.system.pojo.Role;
import com.buba.system.service.RoleService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class RoleServiceImpl implements RoleService {
    private RoleMapper roleMapper;

    @Override
    public List<Role> selRole() {
        return roleMapper.selRole();
    }



    public RoleMapper getRoleMapper() {
        return roleMapper;
    }
    @Autowired
    public void setRoleMapper(RoleMapper roleMapper) {
        this.roleMapper = roleMapper;
    }
}
